package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("card_customer_contacts_relation")
public class CustomerContactsRelation {

    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;



    /**
     * 客户ID
     */
    @TableField("customer_id")
    private String customerId;

    /**
     * 联系人ID
     */
    @TableField("contact_id")
    private String contactId;

    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;
}